package com.design.strategy;

/**
 * 策略模式
 * @author ytj
 * @date 2024/11/28 15:00
 */
public class StrategyTest {
    public static void main(String[] args) {
        Strategy strategy=new Strategy(new StrategyImpl1());
        strategy.doMethod();
    }
}
